<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags"  prefix="s"%>
<%@taglib uri="/struts-dojo-tags" prefix="sx"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>类别查询</title>
<link href="/css/basic/index.css" rel="stylesheet" type="text/css" />
<link href="/css/basic/serch.css" rel="stylesheet" type="text/css" />
<SCRIPT src="/js/index/jquery.js" type=text/javascript></SCRIPT><!-- 所有分类select脚本 -->
<SCRIPT src="/js/index/jQselect.js" type=text/javascript></SCRIPT>
<script src="/js/index/search.js" type="text/javascript"></script>
<SCRIPT type=text/javascript>
	$(document).ready(function() {
		$("#c").selectbox();
	});
	</SCRIPT>
	<sx:head/>
</head>
<body>
	<div id="topNavWrapper">
			<s:url id="user_login" namespace="/forward/view" action="basic_top"></s:url>
			<sx:div href="%{user_login}" id="top_show"></sx:div>
	</div>
	<div id="topadd" style="position: relative;">
		<img src="/image/head/shg.jpg" width="100%" height="50" alt="" />
	</div>
	<div id="wrapper">
			<div id="menu_index">
				<div id="logo"><img src="/image/index/logo.jpg" width="151" height="108" /></div>
				<s:include value="/ftl/html/head_navigation.html"></s:include>
				<div id="search"></div>
				<div id="search_c">
					<div class=searchBar>
					<s:form id="searchFrom" action="search" namespace="/forward/view" >
							  <div class=select>
										<SELECT id=c style="DISPLAY: none" name="type">
										  <OPTION value=-1 selected>所有分类</OPTION>
										  <OPTION value=0>免费资源</OPTION>
										  <OPTION value=1>收费资源</OPTION>
										</SELECT>
							  </div>
							  <div class=text>
										 <INPUT class=s_t id="searchKeyWord"
										onblur="keyonblur(this)" 
										onfocus="keyonfocus(this)" 
									    value="找书、作家、出版社？"	name="keyWord">
								</div>
							  <img src="/image/index/bottom.gif" width="100" height="25" 
							  style="cursor: pointer;" onclick="searchBook()"/>
						</s:form>
					</div>
  		        </div>
	  	</div>
		<p id="hot"><strong>热门关键词：</strong></p>   		
		<div class="clr"></div>
		<div id="wrapper_0" >
			<s:iterator value="view.records" var="type_book">
				<div style="float: left;border: 1px #FFD4AA solid;">
					<a href="/forward/view/book_browse.go?book.id=${type_book.id}"  target="_blank">${type_book.bookName }</a><br/>
					<img src="${type_book.logo_300 }" width="100"/>
				</div>
			</s:iterator>
			<div class="clr"></div>
	</div>
	</div>	
	
	<!-- 底部 -->
	<div id="footer">
		<s:include value="/page/foot.html"></s:include>
		<div class="clr"></div>
	</div>
</body>
</html>